public class Date {
    public  int year = 2024;
    public  int month = 4;
    public  int day = 4;

    public Date(){

    }
    public Date(int year,int month,int day){
        this.year = year;
        this.month = month;
        this.day = day;
    }
    /*public Date(){
        this(2024,7,05);
    }
    public Date(int year,int month,int day){
        this.year = year;
        this.month = month;
        this.day = day;
    }

     */
    /*public void set(Date this,int year,int month,int day){
        this.year = year;
        this.month = month;
        this.day = day;
    }


    public void print(Date this){
        System.out.println(this.year+"/"+this.month+"/"+this.day);
    }
    public static void main(String[] args){
        Date date1 = new Date(2024,7,04);
        date1.print();
    }

     */
    public static void main(String[] args){
        Date d1 = new Date(2024,8,4);
        Date d2 = new Date();
        System.out.println("d1: " + d1.year + "-" + d1.month + "-" + d1.day);
        System.out.println("d2: " + d2.year + "-" + d2.month + "-" + d2.day);
    }
}
